<?php

namespace app\model\office;

use app\model\BaseModel;
use think\model\concern\SoftDelete;

class OfficeFeedback extends BaseModel
{

    use SoftDelete;

    /**
     * 数据表主键
     * @var string
     */
    protected $pk = 'id';

    /**
     * 模型名称
     * @var string
     */
    protected $table = 'free_notice_feedback';
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = '0000-00-00 00:00:00';

    public function users()
    {
        return $this->hasOne(OfficeUser::class, 'id', 'user_id');
    }

}